package com.ficus.road.maintain.core.model.zh.roadgps;

import lombok.Data;

import java.util.List;

/**
 * 接受中海接口13返回的数据
 *
 * @author xiawen yang
 * @date 2022/3/30 下午2:22
 */
@Data
public class TownGpsInfoZH {

    private String town;

    private String towncode;

    private String length;

    private String roadId;

    private String geojsonWgs84;

    private String uuid;

    private String roadName;

    @Data
    public static class GeoJsonWGS84 {

        private Geometry geometry;

        private String id;

        private Properties properties;

        private String type;

        @Data
        public static class Geometry {
            private List<double[]> coordinates;

            private String type;
        }

        @Data
        public static class Properties {
            private String Name;
        }
    }
}
